package br.com.localab.parametros.controlador;

import java.util.Calendar;
import java.util.Date;

import javax.faces.bean.ManagedBean;
import javax.faces.bean.SessionScoped;

import br.com.localab.util.Util;

@ManagedBean
@SessionScoped
public class ParametrosMB {

	public String getMaxData() {
		Calendar c = Calendar.getInstance();
		c.add(Calendar.DAY_OF_MONTH, 8);
		Date date = c.getTime();
		return Util.dateToString(date);
	}
	
	public Date getMinDate() {
		return new Date();
	}
}
